package com.knight.tomcat.common;

public class KnightFirstServlet extends AbstractServlet{


    @Override
    protected void doPost(KnightRequest request, KnightResponse response) {
        doGet(request,response);
    }

    @Override
    protected void doGet(KnightRequest request, KnightResponse response) {
        System.out.println("receive request"+request);

        response.write("<h1>first servlet</h1>");


    }
}
